package org.hxzon.nioserver;

import java.nio.ByteBuffer;
import java.nio.channels.ByteChannel;
import java.io.IOException;

public interface InputQueue {
    int fillFrom(ByteChannel channel) throws IOException;

    ByteBuffer nextByteBuffer();

}
